<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <ui:composition>

        <p:panel header="Credit and Payment" >
            <h:panelGrid columns="2">
                <h:outputText value="#{bundle.ViewSalesOrderEntityLabel_cashPayable}"/>
                <h:outputText value="#{salesOrderEntityController.selected.cashPayable}" title="#{bundle.ViewSalesOrderEntityTitle_cashPayable}"/>

                <h:outputText value="#{bundle.ViewSalesOrderEntityLabel_creditPayable}"/>
                <h:outputText value="#{salesOrderEntityController.selected.creditPayable}" title="#{bundle.ViewSalesOrderEntityTitle_creditPayable}"/>

                <h:outputText value="#{bundle.ViewPurchaseOrderEntityLabel_paymentMethod}"/>
                <h:outputText value="#{purchaseOrderEntityController.selected.paymentMethod}" title="#{bundle.ViewPurchaseOrderEntityTitle_paymentMethod}"/>

                <h:outputText value="Billing Address:"/>
                <h:outputText value="#{purchaseOrderEntityController.selected.billingAddress.toString()}"/>

                <h:outputText value="#{bundle.ViewSalesOrderEntityLabel_refundRequest}"/>
                <h:outputText value="#{salesOrderEntityController.selected.refundRequest}" title="#{bundle.ViewSalesOrderEntityTitle_refundRequest}"/>

            </h:panelGrid>
        </p:panel>

    </ui:composition>

</html>
